import { IOverlayDataSet } from '@/types/overlay'
import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useResourceStore = defineStore('resource', () => {
    // const

    const previewSnap = ref<IOverlayDataSet>()

    const pageMode = ref<'map' | 'table'>('table')

    return { previewSnap, pageMode}
})
